]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Bug 590985 - Fix frequent apps list being empty
authorColin Walters <walters@verbum.org>
Sat, 8 Aug 2009 15:57:09 +0000 (11:57 -0400)
committerColin Walters <walters@verbum.org>
Sat, 8 Aug 2009 15:57:09 +0000 (11:57 -0400)
We shouldn't append .desktop again, that was a leftover from
the old WM_CLASS based application code.

js/ui/appDisplay.js

index 6e335216bdfdd527feb7cbde7524810de15aea21..3406ee44bd7f7e0a03eb6c2be193c37c08287e02 100644 (file)
@@ -275,7 +275,7 @@ AppDisplay.prototype = {
     _getMostUsed: function() {
         let context = "";
         return this._appMonitor.get_most_used_apps(context, 30).map(Lang.bind(this, function (id) {
-            return this._appSystem.lookup_app(id + '.desktop');
+            return this._appSystem.lookup_app(id);
         })).filter(function (e) { return e != null });
     },